package org.ilc.sample;

/**
 * @author malongbo
 */
public class Constants {
    /**
     * 配置文件名
     */
    public static final String CONFIG_NAME="app.conf";

    /**
     * 是否启用用户校验
     */
    public static final String ACCONT_ISVALIDATE_KEY = "push.account.verify.enable";

    /**
     * 数据库地址
     */
    public static final String DB_ADDRESS_KEY = "server.db.address";

    /**
     * 数据库端口号
     */
    public static final String DB_PORT_KEY ="server.db.address";

    /**
     * 数据库用户名
     */
    public static final String DB_USER_KEY = "server.db.user";

    /**
     * 数据库用户登录密码
     */
    public static final String DB_PASSWD_KEY = "server.db.pwd";

    /**
     * 数据库名称
     */
    public static final String DB_NAME_KEY = "server.db.dname";

    /**
     * 消息队列服务器地址
     */
    public static final String STARLING_ADDRESS_KEY = "server.starling.address";


    /**
     * 消息队列服务器端口
     */
    public static final String STARLING_PORT_KEY = "server.starling.port";


    /**
     * 消息存活时间
     */
    public static final String MESSAGE_EXPAIRE_TIME_KEY = "push.message.expiredTime";

    /**
     * 用户校验地址
     */
    public static final String ACCOUNT_VALIDATOR_URL_KEY = "server.validator.url";

    /**
     * 消息队列客户端连接池连接数
     */
    public static final String STARLING_COREPOOL_SIZE_KEY = "push.starling.corepoolsize";
}
